home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.11
/
2002-01_-_Disc_7.11.iso
/
Data
/
items.pcg
/
scripts
/
DefineButton2_280
/
BUTTONCONDACTION on(release).as
< prev
next >
Wrap
Text File
|
2001-11-06
|
779b
|
32 lines
on(release){
TheCurrentitem = 0;
TopItem = 1;
GameBox_y = 224;
searchstr = "";
arGamesDBMain = arGamesDBMaster;
arGamesDBIndex = arGamesIndexMaster;
arGamesDBSlice = arGamesDBMaster;
arGamesIndexSlice = arGamesIndexMaster;
var i = 1;
while(scrollMax >= i)
{
set("menugame" + i,arGamesDBSlice[i - 1]);
set("gamenumber" + i,i);
i += 1;
}
if(dbCount == currentGameCount)
{
setProperty("itemBar" + lastGameBox, _alpha, 10);
}
setProperty("itemBar1", _alpha, 20);
theCurrentGame = arGamesDBIndex[0];
numitems = arGamesDBSlice.length;
num_Games = numitems;
lastButton = 1;
topDB = 1;
dbCount = 1;
currentGameCount = 1;
lastGameBox = 1;
gotoAndPlay(13);
}